import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './08-antd-mobile组件库/App'
import reportWebVitals from './reportWebVitals';
// import 'antd/dist/antd.min.css'  //antdPC端CSS样式
import {store} from './06.react-redux/redux/store';
import { Provider } from 'react-redux';
import { persistor } from './06.react-redux/redux/store';  //redux持久化
import { PersistGate } from 'redux-persist/integration/react'  //redux持久化
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <Provider store={store}>
        <PersistGate loading={null} persistor={persistor}>
            <App />
         </PersistGate>
    </Provider>
    
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
